<template>
  <div v-html="aliPayView()"></div>
</template>

<script>
export default {
  data() {
    return {
      aliPayView: () => {
        // console.log(this.$store.state.mysystem.aliPayView);
        console.log(this.$route.query.view);
        const dp = new DOMParser();
        let doc = dp.parseFromString(
          // this.$store.state.mysystem.aliPayView,
          this.$route.query.view,
          "text/html"
        );
        return doc.body.firstChild.outerHTML;
      }
    };
  },
  methods: {},
  mounted() {
    document.getElementsByTagName("form")[0].submit();
  }
};
</script>

<style>
</style>